package param.taketicket;

import java.io.Serializable;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;

import param.pub.Publicresponse;

@XmlAccessorType(XmlAccessType.PROPERTY)
@XmlRootElement(name = "orderqueryresponse")
public class OrderQueryresponse implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2911891006643546349L;
	private Publicresponse publicresponse;
	List<Ticket> tickets;

	@XmlElement(name = "publicresponse")
	public Publicresponse getPublicresponse() {
		return publicresponse;
	}

	public void setPublicresponse(Publicresponse publicresponse) {
		this.publicresponse = publicresponse;
	}



	@XmlElementWrapper(name = "tickets")
	@XmlElement(name = "ticket")
	public List<Ticket> getTickets() {
		return tickets;
	}

	public void setTickets(List<Ticket> tickets) {
		this.tickets = tickets;
	}
}
